package gjtx7;

import java.io.File;
import java.util.Scanner;

public class Lnput2 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("输入一个目录:");
        String str=in.next();
        File f=new File(str);
        String[] fs=f.list();
        for (String s:fs)
            System.out.println(s);
    }
}
